#pragma once

#include "../Position.h"
#include "CADCommand.h"

// CCreateCircleCmd command target

class CCreateCircleCmd : public CCADCommand
{
	DECLARE_DYNAMIC(CCreateCircleCmd)
public:
	CCreateCircleCmd();
	virtual ~CCreateCircleCmd();

	int GetType();
	int	OnLButtonDown(CDC* pDC, UINT nFlags, const CPosition& pos);
	int	OnMouseMove(CDC* pDC, UINT nFlags, const CPosition& pos);
	int	OnRButtonDown(CDC* pDC, UINT nFlags, const CPosition& pos);

	int	Cancel(CDC* pDC);

private:
	CPosition m_center;
	CPosition m_pos;
};


